#include "widget.h"
#include <QApplication>
#include <QTextCodec>
#include <login.h>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    // 设置 UTF-8 编码
    QTextCodec *codec = QTextCodec::codecForName("UTF-8");
    QTextCodec::setCodecForLocale(codec);
    Widget w;

    w.show();

    return a.exec();
}
